﻿var tbarPanel = new Ext.Toolbar({
    items: [{
        text: '创建新bug',
        iconCls: 'icocreatebug',
        handler: function() {
        window.open('BugCreate.aspx');
        }
    }, '-', {
        text: '我创建的bug',
        iconCls: 'icomebug'
    }, '-', {
        text: '指派给我的bug',
        iconCls: 'icobugtome'
    }, '-', {
        text: '快速查询',
        iconCls: 'icosearch10'
    }, '-', {
        text: '高级查询',
        iconCls: 'icosearch20'
    }, '-', {
        text: '项目管理',
        iconCls: 'icocprojectmang'
    }, '-', {
        text: '用户管理',
        iconCls: 'icousermang'
    }, '-', {
        text: '系统设置',
        iconCls: 'icosystemset'
}]
    });

    var createBugWin = new Ext.Window({
        title: '创建新Bug',
        width: 900,
        height: 600,
        closeAction: 'close',
        maximizable: true,
        minimizable: true,
        minWidth: 300,
        minHeight: 250,
        buttonAlign: 'center',
        layout: 'fit',
        buttons: [{
            text: 'Send'
        }, {
            text: 'Cancel'
        }]
    });
